package com.kfm.spring.factory;

import com.kfm.spring.bean.Boy;

public class InstanceFactory {

    public InstanceFactory(){
        System.out.println("InstanceFactory对象创建了");
    }

    public Boy getBoyInstance(){
        return new Boy();
    }
}
